#include "String.h"

void test_strlen()
{
	char arr[] = "abcdef";
	int len = strlen(arr);
	printf("%d ", len);
}

void test_strcpy()
{
	char arr[] = "abcdef";
	char arr1[8] = { 0 };
	strcpy(arr1,arr);
	printf("%s \n", arr1);
}

void test_strcat()
{
	char arr[20] = "abcdef";
	char arr1[] = "hijkl";
	strcat(arr, "hello");
	printf("%s \n", arr);
}

void test_strcmp()
{
	char arr1[20] = "abcdef";
	char arr2[] = "hijkl";
	int ret = strcmp(arr1, arr2);
	if (ret<0)
	{
		printf("<\n");
	}
	else if (ret == 0)
	{
		printf("== \n");
	}
	else
	{
		printf(">\n");
	}
}
int main()
{
	test_strcmp();

	return 0;
}